package com.ouc.openplatform.zykt.orderManage.dao;

import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.ouc.openplatform.common.CommonMapper;
import com.ouc.openplatform.zykt.orderManage.model.CS_Order;

public interface CS_OrderDao extends CommonMapper<CS_Order>{
	// 根据用户编码、订单号查询所有订单
	List<CS_Order> findAllOrder(@Param("userNo")String userNo,@Param("orderNo") String orderNo);
	// 根据用户编码、订单号和订单状态查询所有订单
	List<CS_Order> findAllEndOrder(@Param("userNo")String userNo,@Param("orderNo") String orderNo,@Param("orderState") Integer orderState);

}
